package com.glink.manage.vo.view;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.glink.common.serializer.JsonDateHourMinuteDeSerializer;
import com.glink.common.serializer.JsonDateHourMinuteSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 车辆驶入明细
 * @author qiushaoshan
 * @since 2025/2/5
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VehicleAccessDetailVO implements Serializable {

    private static final long serialVersionUID = -8762556098263802957L;

    @ApiModelProperty(value = "车牌")
    private String licensePlate;

    @ApiModelProperty(value = "类型(code:CarType)")
    private String type;

    @ApiModelProperty(value = "驶入识别时间")
    @JsonSerialize(using = JsonDateHourMinuteSerializer.class)
    @JsonDeserialize(using = JsonDateHourMinuteDeSerializer.class)
    private Date recordDate;
    
    @ApiModelProperty(value = "出入类型；code:CarInoutType")
    private String carInout;
}
